package com.broada.apm.service;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import com.broada.apm.ajax.ProtocolResult;
import com.wordnik.swagger.annotations.Api;
import com.wordnik.swagger.annotations.ApiOperation;

@Path("apm/protocols")
@Api(value="apm/protocols" , description = "性能数据相关的APIs")
@Produces(MediaType.APPLICATION_JSON)
public interface ProtocalService {

	/**
	 * 查询L7协议
	 * @return
	 */
	@Path("/L7")
	@GET
	@ApiOperation(value = "查询L7协议")
	@Produces(MediaType.APPLICATION_JSON)
	public ProtocolResult queryL7Protocals();
}
